# 与,并且 and
print(True and False)
print(True and True)
print(2 < 3 and 2 == 3)
print(2 < 3 <= 4)
print(2 and 4)
print(0 and 1)
# 或者 or
print(True or False)
print(False or False)
print(2024 or 2025 or ' ')
print(" " or 2025)
print(2025 or "")
print(0 or 1)
# 非 not
print(not True)
print(not 0)
# 优先级not>and>or
print(True or False and True or False)  # True
